package com.qf.responsedata;

/**
 * @author 高圆圆
 * @date 2023/4/18 19:56
 * 自定义响应实体
 */
public class ResponseResult {

    private Object data ; //任意java对象
    private int code  ; //0,没有数据 1,有数据
    private String msg ; //消息字符串

    public ResponseResult() {
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
